package com.yungee.model;

import lombok.Data;

import java.util.List;

@Data
public class PageData {

    /**
     * 总记录数
     */
    private long total;

    /**
     * 列表数据
     */
    private List<?> rows;

    public PageData(long total, List<?> rows) {
        this.total = total;
        this.rows = rows;
    }
}

